/* pages/vip/vip.wxss */
.container {
  width: 100vw;
  height: auto;
  min-height: 100vh;
  background-image: url('https://hand-in-hand-static.oss-rg-china-mainland.aliyuncs.com/vip/background-image.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #131223;
  box-sizing: border-box;
  padding: 0 32rpx;
  .navigation-bar {
    width: 100%;
    height: 96rpx;
    display: flex;
    justify-content: space-between;
    .icon {
      width: 48rpx;
      height: 48rpx;
    }
    .title {
      font-weight: 500;
      color: #ffffff;
      font-size: 32rpx;
    }
  }

  .line-1 {
    position: relative;
    display: flex;
    gap: 32rpx;
    .avatar {
      width: 112rpx;
      height: 112rpx;
      background-color: #ffd58c;
      border-radius: 50%;
      flex-shrink: 0;
      overflow: hidden;
      .avatar-image {
        // position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
      }
    }
    .box {
      flex-grow: 1;
      .name {
        display: flex;
        align-items: center;
        gap: 16rpx;
        text {
          font-size: 40rpx;
          color: #fde9c4;
        }
        image {
          width: 126rpx;
          height: 32rpx;
          aspect-ratio: auto;
        }
      }
      .date {
        font-size: 22rpx;
        margin-top: 8rpx 0 0;
        color: rgba(255, 255, 255, 0.85);
        &.overdue {
          color: #ff676d;
        }
      }
    }

    .image-clown {
      position: absolute;
      right: -32rpx;
      top: -32rpx;
      z-index: 100;
      width: 200rpx;
      height: 200rpx;
    }
  }

  // 会员选择
  .line-2 {
    width: 100%;
    height: 308rpx;
    display: flex;
    gap: 16rpx;
    margin-top: 72rpx;
    .vip-item {
      position: relative;
      width: 218rpx;
      height: 304rpx;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      border-radius: 16rpx;
      padding-top: 48rpx;
      box-sizing: border-box;
      border: 2rpx solid rgba(255, 213, 140, 0.15);
      background-color: #131223;
      background-image: linear-gradient(to bottom, rgba(255, 213, 140, 0.25), rgba(255, 213, 140, 0));
      .text-wrapper_10-1 {
        height: 40rpx;
        background: url(https://admin.slsxh.com/upload/20240624/6jd4t1322raU2a96f415e2f3fae3466d50b3cdb683a6.png) 100% no-repeat;
        background-size: 100% 100%;
        display: flex;
        flex-direction: column;
        width: 120rpx;
        position: absolute;
        left: 0rpx;
        top: 0rpx;
        color: rgba(255,255,255,1);
        font-size: 20rpx;
        font-weight: 600;
        align-items: center;
        justify-content: center;
        font-family: PingFangSC-Semibold;
      }
      &.active {
        border: 2rpx solid #ffd58c;
        .footer {
          color: #6A2C00;
          background-image: linear-gradient(to bottom, #ffd58c, #fde9c4);
        }
      }


      .icon {
        display: flex;
        align-items: center;
        gap: 8rpx;
        font-weight: 500;
        font-size: 30rpx;
        color: #ffffff;
        height: 48rpx;
        image {
          width: 28rpx;
          height: 28rpx;
        }
      }

      .main-text {
        color: #ffd58c;
        .price {
          font-size: 32rpx;
          font-weight: bold;
        }
        .unit {
          font-size: 24rpx;
        }
      }

      .sub-text {
        text-decoration: line-through;
        color: rgba(255, 255, 255, 0.45);
        font-size: 22rpx;
      }

      .footer {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 48rpx;
        background-color: #4d423d;
        text-decoration: line-through;
        font-size: 22rpx;
        color: #ffd58c;
      }
    }
  }

  .line-3 {
    
    .title {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 32rpx 0;
      image {
        height: 72rpx;
        aspect-ratio: auto;
      }
    }

    .icons {
      width: 100%;
      min-height: 664rpx;
      background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
      border-radius: 8rpx;
      box-sizing: border-box;
      padding: 40rpx 58rpx;
      display: grid;
      grid-template-rows: 1fr 1fr 1fr;
      grid-template-columns: 1fr 1fr 1fr 1fr;
      .item {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        margin: 20rpx 0;
        gap: 16rpx;
        .icon {
          width: 96rpx;
          height: 96rpx;
        }
        .text {
          font-size: 22rpx;
          color: rgba(255, 255, 255, 0.65);
          text-align: center;
          max-width: 8ch;
        }
      }
    }
  }

  .line-4 {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24rpx;
    // margin: 56rpx 0;
    align-items: center;
    box-sizing: border-box;
    padding: 0 28rpx 48rpx;
    .button {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 88rpx;
      border-radius: 48rpx;
      color: #222;
      font-weight: 600;
      background-image: linear-gradient(to bottom, #ffcc00, #ffb900);
      position: relative;
      overflow: hidden;
    }
    .tip {
      font-size: 22rpx;
      color: rgba(255, 255, 255, 0.45);
    }
  }
  .line-5 {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24rpx;
    margin: 56rpx 0;
    align-items: center;
    box-sizing: border-box;
    padding: 0 28rpx 48rpx;
    padding-bottom: 200rpx;
    .tip {
      font-size: 22rpx;
      color: rgba(255, 255, 255, 0.45);
    }
  }
.aa{
    background-image: linear-gradient(60deg,transparent,transparent,#fff,transparent,transparent);
    position: absolute;
    top: 0;left: -50%;
    width: 50%;height: 100%;
    transition:left 1s;
    animation: flash 1.5s infinite;
}
@keyframes flash {
  0% {
    left: -50%;
  }
  100% {
    left: 100%;
  }
}
}